package org.neuedu.chapter04_0617;

public class ArrayDemo05 {
    public static void main(String[] args) {
        int[] test1 = {1, 2, 3};
        int[][] arr1 = {
                {1, 2, 3},
                {4, 5},
                {6, 7, 8, 9, 0}
        };

        int[] test2 = new int[]{1, 2, 3};
        int[][] arr2 = new int[][]{
                {1, 2, 3},
                {4, 5},
                {6, 7, 8, 9, 0}
        };

        int[] test3 = new int[3]; // 3 个 0
        int[][] arr3 = new int[3][]; // 3 个 null
        arr3[0] = new int[]{1, 2, 3};
        arr3[1] = new int[]{4, 5, 6};
        arr3[2] = new int[]{7, 8, 9};
    }
}
